//
//  Timer.h
//  Stock_Pro
//
//  Created by CH on 11-1-28.
//  Copyright 2011 gaotime. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef struct TimeCallBack_tag {
	void				*pCBObj;		
	void(*pCallBack)(void *pCBObj);

}TimeCallBack;


@interface TimerOper : NSObject {
	
	NSTimer					*pTimer;
	TimeCallBack			*pCall;
  BOOL              bLoop;
}

@property(nonatomic,assign) NSTimer			*pTimer;
@property(nonatomic,assign) TimeCallBack	*pCall;
@property(nonatomic,assign) BOOL	bLoop;

- (id) init;
-(void)CallBack:(NSTimer*)t;

@end
